package com.winchain.chainbill.chain.controller;

import com.shell.bee.base.annotation.Logging;
import com.shell.bee.base.utils.SpringContextUtil;
import com.shell.bee.mvc.controller.BaseController;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class ChainBasicController extends BaseController {
	@RequestMapping
	@ResponseBody
	@Logging(module = "������", methods = "����������������")
	public Boolean isSwitchOn() {
		return Boolean.valueOf("on".equals(SpringContextUtil.getProperty("chain.switch")));
	}
}
